<!--组件-快讯Cell-->
<template>
  <div class="cell bg2">
    <text class="font32 text2">{{item.title}}</text>

    <div class="height10"></div>
    <text class="font26 text2 text">{{item.content}}</text>

    <div class="height20"></div>
    <div class="row acenter">
      <text class="font24 text3 all">{{item.time}}</text>

      <div class="but" @click="reportClick">
        <text class="font24 text2">{{T('举报')}}</text>
        <LImage class="but-image" :src="Config.img('v2_jubao.png')"></LImage>
      </div>

      <div class="but" @click="shareClick()">
        <text class="font24 text2">{{T('分享')}}</text>
        <LImage class="but-image" :src="Config.img('v2_share.png')"></LImage>
      </div>
    </div>
  </div>
</template>
    
<style src="@/_css/style.css" ></style>
<style scoped>
.cell {
  border-radius: 24px;

  padding: 40px;
}
.text{
  line-height: 48px;
}
.but{
  flex-direction: row;
  align-items: center;
  margin-left: 50px;
}
.but-image {
  width: 22px;
  height: 22px;
  margin-left: 10px;
}
</style>

<script>
//功能
import jconfig from "@/_js/config";

import I18N from "@/_i18n/i18n";
var T = I18N.t;
export default {

  props: {
    item: Object, 
  },

  data() {
    return {
      T:T,
      Config:jconfig,
    };
  },

  created() {
  },

  methods: {

    /********************************** 点击触发*/
    //举报
    reportClick(){
      this.$emit("report", this.item);
    },

    //分享
    shareClick(){
      this.$emit("share", this.item);
    },
  },
};
</script>
